package com.ktgj.flight.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 机票订单行程单对象 flight_order_iternary
 * 
 * @author ruoyi
 * @date 2022-01-12
 */
public class FlightOrderIternary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报销凭证订单id */
    @Excel(name = "报销凭证订单id")
    private Long invoiceId;

    /** 支付状态 */
    @Excel(name = "支付状态")
    private String payState;

    /** 支付金额 */
    @Excel(name = "支付金额")
    private BigDecimal payCost;

    /** 订单状态。1：预订，2：待配送，3已配送，4：取消 */
    @Excel(name = "订单状态。1：预订，2：待配送，3已配送，4：取消")
    private Long orderState;

    /** 支付号，信用卡等支付方式发起支付时，提交的支付号 */
    @Excel(name = "支付号，信用卡等支付方式发起支付时，提交的支付号")
    private String tradeOrderId;

    /** 默认0未退款，1申请退款，2：退款完成 */
    @Excel(name = "默认0未退款，1申请退款，2：退款完成")
    private Long refundStatus;

    /** 机票订单号 */
    @Excel(name = "机票订单号")
    private String orderId;

    /** 支付类型。枚举值与机票订单表的pay_type保持一致 */
    @Excel(name = "支付类型。枚举值与机票订单表的pay_type保持一致")
    private Long payType;

    /** 退票时，快递费应扣除用户的手续费。此值大于等于支付金额则不需要再给用户退款 */
    @Excel(name = "退票时，快递费应扣除用户的手续费。此值大于等于支付金额则不需要再给用户退款")
    private BigDecimal refundFee;

    /** 来源，IOS:30； Android:40； CRM:50； */
    @Excel(name = "来源，IOS:30； Android:40； CRM:50；")
    private Long sourceway;

    /** 联系地址 */
    @Excel(name = "联系地址")
    private String contactAddress;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String contactPostcode;

    /** 收件人 */
    @Excel(name = "收件人")
    private String addressOwner;

    /** 邮寄方式  1快递 2机场取票 */
    @Excel(name = "邮寄方式  1快递 2机场取票")
    private Long postWay;

    /** 会员编号 */
    @Excel(name = "会员编号")
    private String customerId;

    /** 取票地址 */
    @Excel(name = "取票地址")
    private String takeTicketAddress;

    //------------------------------------------------------------------------>

    /** 联系人手机 */
    @Excel(name = "联系人手机")
    private String contactMobile;

    /** 联系人Mail */
    @Excel(name = "联系人Mail")
    private String contactEmail;

    public void setInvoiceId(Long invoiceId) 
    {
        this.invoiceId = invoiceId;
    }

    public Long getInvoiceId() 
    {
        return invoiceId;
    }
    public void setPayState(String payState)
    {
        this.payState = payState;
    }

    public String getPayState()
    {
        return payState;
    }
    public void setPayCost(BigDecimal payCost) 
    {
        this.payCost = payCost;
    }

    public BigDecimal getPayCost() 
    {
        return payCost;
    }
    public void setOrderState(Long orderState) 
    {
        this.orderState = orderState;
    }

    public Long getOrderState() 
    {
        return orderState;
    }
    public void setTradeOrderId(String tradeOrderId) 
    {
        this.tradeOrderId = tradeOrderId;
    }

    public String getTradeOrderId() 
    {
        return tradeOrderId;
    }
    public void setRefundStatus(Long refundStatus) 
    {
        this.refundStatus = refundStatus;
    }

    public Long getRefundStatus() 
    {
        return refundStatus;
    }
    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public String getOrderId()
    {
        return orderId;
    }
    public void setPayType(Long payType) 
    {
        this.payType = payType;
    }

    public Long getPayType() 
    {
        return payType;
    }
    public void setRefundFee(BigDecimal refundFee) 
    {
        this.refundFee = refundFee;
    }

    public BigDecimal getRefundFee() 
    {
        return refundFee;
    }
    public void setSourceway(Long sourceway) 
    {
        this.sourceway = sourceway;
    }

    public Long getSourceway() 
    {
        return sourceway;
    }
    public void setContactAddress(String contactAddress) 
    {
        this.contactAddress = contactAddress;
    }

    public String getContactAddress() 
    {
        return contactAddress;
    }
    public void setContactPostcode(String contactPostcode) 
    {
        this.contactPostcode = contactPostcode;
    }

    public String getContactPostcode() 
    {
        return contactPostcode;
    }
    public void setAddressOwner(String addressOwner) 
    {
        this.addressOwner = addressOwner;
    }

    public String getAddressOwner() 
    {
        return addressOwner;
    }
    public void setPostWay(Long postWay) 
    {
        this.postWay = postWay;
    }

    public Long getPostWay() 
    {
        return postWay;
    }
    public void setCustomerId(String customerId) 
    {
        this.customerId = customerId;
    }

    public String getCustomerId() 
    {
        return customerId;
    }

    public String getContactMobile() {
        return contactMobile;
    }

    public void setContactMobile(String contactMobile) {
        this.contactMobile = contactMobile;
    }

    public String getContactEmail() {
        return contactEmail;
    }

    public void setContactEmail(String contactEmail) {
        this.contactEmail = contactEmail;
    }

    public String getTakeTicketAddress() {
        return takeTicketAddress;
    }

    public void setTakeTicketAddress(String takeTicketAddress) {
        this.takeTicketAddress = takeTicketAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("invoiceId", getInvoiceId())
            .append("payState", getPayState())
            .append("payCost", getPayCost())
            .append("createTime", getCreateTime())
            .append("orderState", getOrderState())
            .append("tradeOrderId", getTradeOrderId())
            .append("refundStatus", getRefundStatus())
            .append("orderId", getOrderId())
            .append("payType", getPayType())
            .append("refundFee", getRefundFee())
            .append("sourceway", getSourceway())
            .append("contactAddress", getContactAddress())
            .append("contactPostcode", getContactPostcode())
            .append("addressOwner", getAddressOwner())
            .append("postWay", getPostWay())
            .append("customerId", getCustomerId())
            .toString();
    }
}
